package com.test;

 

import org.dom4j.Document;
import org.dom4j.DocumentException;
import org.dom4j.DocumentHelper;

import com.softwarementors.extjs.djn.config.annotations.DirectMethod;
 

public class xml2 {
	@DirectMethod
	public Document getXml(String xmlStr) throws DocumentException{
		Document xml; 
		xml=DocumentHelper.parseText(xmlStr);		
		return xml;
	}

}
